public class test1 {

    public static void main(String[] args) {
        int[][] array = new int[][]{{12,2,3},{45,5},{66}};
        for (int i = 0; i < array.length; i++) {
            for (int j = 0; j < array[i].length; j++) {
                System.out.println(array[i][j]);
            }
        }
        System.out.println("===========");
        for (int[] a:array) {
            for (int i:a) {
                int n = 0;
                n += i;
                System.out.print(n + " ");
            }
            System.out.println();
        }
    }
    public static void main2(String[] args) {
        int[] str = new int[10];
        for(int i = 0;i < str.length;i++){
            str[i] = i + 1;
            System.out.print(str[i] + " ");
        }
    }
    public static void main1(String[] args) {
        System.out.println("hello, java!");
    }
}
